projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c83db6c
)
GtkAppChooserButton: Make activating rows work as expected
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 24 Aug 2011 04:10:34 +0000
(
00:10
-0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 24 Aug 2011 04:10:34 +0000
(
00:10
-0400)
When a row is activated in the 'Other...' dialog, we have
to make sure the dialog goes away.
gtk/gtkappchooserbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkappchooserbutton.c
b/gtk/gtkappchooserbutton.c
index b9cc24432294eba11f1568a67fb775ee0f3ae05f..fbcd99dde6b6740ac84548edec75d38fad9c8e27 100644
(file)
--- a/
gtk/gtkappchooserbutton.c
+++ b/
gtk/gtkappchooserbutton.c
@@
-214,6
+214,8
@@
other_application_dialog_response_cb (GtkDialog *dialog,
info = gtk_app_chooser_get_app_info (GTK_APP_CHOOSER (dialog));
+ gtk_widget_destroy (GTK_WIDGET (dialog));
+
/* refresh the combobox to get the new application */
gtk_app_chooser_refresh (GTK_APP_CHOOSER (self));
gtk_app_chooser_button_select_application (self, info);